package org.hermes.core.message;

public class ServiceMessage{
	public static final int TYPE_WARNING = 1;
	public static final int TYPE_INFO = 2;
	public static final int TYPE_ERROR = 3;
	
	private String message;
	private int type;
	
	public ServiceMessage(){}
	
	public ServiceMessage(String message, int type){
		this.message = message;
		this.type = type;
	}
	
	public String getMessage() {
		return message;
	}

	public int getType() {
		return type;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public void setType(int type) {
		this.type = type;
	}
}
